#ifndef Timer_h
#define Timer_h

#include "Arduino.h"

class Timer 
{
  public:
    Timer(unsigned long Interval, void (*Function)());	
	void check();	
	void setInterval(unsigned long Interval);

  private: 
    bool active;
    unsigned long previous;
    unsigned long interval;
    void (*execute)();		
};

#endif